import { ref, computed } from 'vue';
import { useLocalStorage } from '@vueuse/core';
import router from '@/plugins/router'

const menus = ref([
    {
        name: '主页',
        to: '/home',
        showNavBar: false,
    },
    {
        name: '用户',
        to: '/user',
        showNavBar: true,
    },
    {
        name: '背景设置',
        to: '/bgSet',
        showNavBar: true,
    },
    {
        name: '导航设置',
        to: '/guideSet',
        showNavBar: true,
    },
]);


export const useMenu = () => {

    const curMenu = computed(() => {
        return '';
    })

    return {
        menus,
        curMenu
    }

}



